package com.base.cn.platform.os.entity.order.order;

import com.base.cn.platform.os.common.mybatis.BaseEntity;
import com.base.cn.platform.os.entity.order.shop.ShopData;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 购物车实体
 *
 * @author s.li
 * @create 2018-05-07-17:06
 */
@Data
public class ShopCart extends BaseEntity {
    /**用户ID*/
    private BigDecimal userId;
    /**商品ID*/
    private BigDecimal shopId;
    /**商品类型*/
    private String shopType;
    /**商品价格*/
    private Double price;
    /**购买量*/
    private Integer buyNum;
    /**推广员KEY*/
    private String shareKey;
    /**商品对象**/
    private ShopData shop;
}
